package com.biz.primus.ms.commodity.dao.ro;


import com.biz.primus.base.redis.annotation.FieldSortedSet;
import com.biz.primus.base.redis.annotation.Ro;
import com.biz.primus.base.redis.bean.BaseRedisObject;

import java.sql.Timestamp;

/**
 * 关联商品项Ro
 *
 * @author david-liu
 * @date 2016年08月18日
 * @reviewer jun.liu
 * @see
 */
@Ro(key = "product:ProductCascadeItemRo")
public class ProductCascadeItemRo extends BaseRedisObject<Long> {

	/**
	 * 商品ID
	 */
	private Long productId;

	/**
	 * cascadeId
	 */
	private Long productCascadeId;

	/**
	 * 被关联商品的的id
	 */
	@FieldSortedSet(key = "beCascadeProductId", score = "id")
	private Long beCascadeProductId;

	/**
	 * 纵向条件对象, 示例 颜色: 1
	 */
	private String ver;

	/**
	 * 横向条件对象, 示例 酒精度: 52
	 */
	private String her;

	private String value;
	private Long id;
	private Timestamp createTimestamp;
	private Timestamp updateTimestamp;

	public Long getBeCascadeProductId() {
		return beCascadeProductId;
	}

	public void setBeCascadeProductId(Long beCascadeProductId) {
		this.beCascadeProductId = beCascadeProductId;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	@Override
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getProductId() {
		return productId;
	}

	public void setProductId(Long productId) {
		this.productId = productId;
	}

	public Long getProductCascadeId() {
		return productCascadeId;
	}

	public void setProductCascadeId(Long productCascadeId) {
		this.productCascadeId = productCascadeId;
	}

	public String getVer() {
		return ver;
	}

	public void setVer(String ver) {
		this.ver = ver;
	}

	public String getHer() {
		return her;
	}

	public void setHer(String her) {
		this.her = her;
	}

	public Timestamp getCreateTimestamp() {
		return createTimestamp;
	}

	public void setCreateTimestamp(Timestamp createTimestamp) {
		this.createTimestamp = createTimestamp;
	}

	public Timestamp getUpdateTimestamp() {
		return updateTimestamp;
	}

	public void setUpdateTimestamp(Timestamp updateTimestamp) {
		this.updateTimestamp = updateTimestamp;
	}

}
